# Contributor: Jake Buchholz <tomalok@gmail.com>
# Contributor: Mike Crute <mike@crute.us>
# Maintainer: Mike Crute <mike@crute.us>
pkgname=tiny-ec2-bootstrap
pkgver=1.4.3
pkgrel=1
pkgdesc="A tiny EC2 instance bootstrapper that uses instance metadata"
url="https://gitlab.alpinelinux.org/alpine/cloud/tiny-ec2-bootstrap"
arch="noarch"
license="MIT"
options="!check"  # no tests provided
depends="openrc e2fsprogs-extra partx sfdisk"
source="https://gitlab.alpinelinux.org/alpine/cloud/tiny-ec2-bootstrap/-/archive/release-$pkgver/tiny-ec2-bootstrap-release-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-release-$pkgver"

package() {
	make PREFIX=$pkgdir install
}

sha512sums="
6b15eaae722975b5f9deb6650cfd2319a37cab24084c3638ee3264e7784637cadfda863777909fc2cb09f1c27755082591b645342da697be040687da7a9936f3  tiny-ec2-bootstrap-release-1.4.3.tar.gz
"
